<?php

namespace app\controller;
use think\Request;
use app\controller\BaseController;
use app\service\LoginService;

class Login extends BaseController{
    private $nestService;

    public function __construct() {
        $this->loginService=new LoginService();

    }

    //登录
    public function login(Request $input){
        $result=$this->loginService->login($input);
        return $result;
    }
}
